<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>Editor</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
    </head>
    <body>
        <form action="editTextResolution.php" method="post">
            <p>
                <label>Editor:</label>
                <textarea cols="80" id="editor1" name="editor1" rows="10">${VARIABLE_textToEdit}</textarea>
                <script type="text/javascript">
                    //<![CDATA[
                    CKEDITOR.replace( 'editor1',{
                        toolbar :
                            [
                            { name: 'document', items : [ 'Source' ] },
                            { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
                            { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
                            { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-',
                                    'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
                            { name: 'links', items : [ 'Link','Unlink','Anchor' ] },
                            { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
                            '/',
                            { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
                            { name: 'colors', items : [ 'TextColor','BGColor' ] },
                            { name: 'tools', items : [ 'Maximize'] }
                        ]
                    });
                    //]]>
                </script>
            </p>
            <p>                
                <input type="submit" name="preview" value="Preview"/><input type="submit" name="save" value="Save"/>
            </p>
        </form>
        History:
        ${VARIABLE_historyAll}
    </body>
</html>
